package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Function entity. @author MyEclipse Persistence Tools
 */

public class Function implements java.io.Serializable {

	// Fields

	private long functionId;
	private String functionDesc;
	private Set roles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Function() {
	}

	/** full constructor */
	public Function(String functionDesc, Set roles) {
		this.functionDesc = functionDesc;
		this.roles = roles;
	}

	// Property accessors

	public long getFunctionId() {
		return this.functionId;
	}

	public void setFunctionId(long functionId) {
		this.functionId = functionId;
	}

	public String getFunctionDesc() {
		return this.functionDesc;
	}

	public void setFunctionDesc(String functionDesc) {
		this.functionDesc = functionDesc;
	}

	public Set getRoles() {
		return this.roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

}